﻿namespace Contoso.ActiveDirectory {

    #region Usings
    using System;
    #endregion

    /// <summary>
    /// Active Directory Extended Rights
    /// http://technet.microsoft.com/en-us/library/ff405676.aspx
    /// </summary>
    public static class ExtendedRights {

        public static readonly Guid AbandonReplication = new Guid("ee914b82-0a98-11d1-adbb-00c04fd8d5cd");
        public static readonly Guid AddGUID = new Guid("440820ad-65b4-11d1-a3da-0000f875ae0d");
        public static readonly Guid AllocateRids = new Guid("1abd7cf8-0a99-11d1-adbb-00c04fd8d5cd");
        public static readonly Guid AllowedToAuthenticate = new Guid("68b1d179-0d15-4d4f-ab71-46152e79a7bc");
        public static readonly Guid ApplyGroupPolicy = new Guid("edacfd8f-ffb3-11d1-b41d-00a0c968f939");
        public static readonly Guid CertificateEnrollment = new Guid("0e10c968-78fb-11d2-90d4-00c04f79dc55");
        public static readonly Guid CreateInboundForestTrust = new Guid("e2a36dc9-ae17-47c3-b58b-be34c55ba633");
        public static readonly Guid DoGarbageCollection = new Guid("fec364e0-0a98-11d1-adbb-00c04fd8d5cd");
        public static readonly Guid DomainAdministerServer = new Guid("ab721a52-1e2f-11d0-9819-00aa0040529b");
        public static readonly Guid DSBypassQuota = new Guid("88a9933e-e5c8-4f2a-9dd7-2527416b8092");
        public static readonly Guid DSCheckStalePhantoms = new Guid("69ae6200-7f46-11d2-b9ad-00c04f79f805");
        public static readonly Guid DSCloneDomainController = new Guid("3e0f7e18-2c7a-4c10-ba82-4d926db99a3e");
        public static readonly Guid DSExecuteIntentionsScript = new Guid("2f16c4a5-b98e-432c-952a-cb388ba33f2e");
        public static readonly Guid DSInstallReplica = new Guid("9923a32a-3607-11d2-b9be-0000f87a36b2");
        public static readonly Guid DSReadPartitionSecrets = new Guid("084c93a2-620d-4879-a836-f0ae47de0e89");
        public static readonly Guid DSQuerySelfQuota = new Guid("4ecc03fe-ffc0-4947-b630-eb672a8a9dbc");
        public static readonly Guid DSReplicationGetChanges = new Guid("1131f6aa-9c07-11d1-f79f-00c04fc2dcd2");
        public static readonly Guid DSReplicationGetChangesAll = new Guid("1131f6ad-9c07-11d1-f79f-00c04fc2dcd2");
        public static readonly Guid DSReplicationManageTopology = new Guid("1131f6ac-9c07-11d1-f79f-00c04fc2dcd2");
        public static readonly Guid DSReplicationMonitorTopology = new Guid("f98340fb-7c5b-4cdb-a00b-2ebdfa115a96");
        public static readonly Guid DSReplicationSynchronize = new Guid("1131f6ab-9c07-11d1-f79f-00c04fc2dcd2");
        public static readonly Guid DSSetOwner = new Guid("4125c71f-7fac-4ff0-bcb7-f09a41325286");
        public static readonly Guid DSWritePartitionSecrets = new Guid("94825a8d-b171-4116-8146-1e34d8f54401");
        public static readonly Guid EnablePerUserReversiblyEncryptedPassword = new Guid("05c74c5e-4deb-43b4-bd9f-86664c2a7fd5");
        public static readonly Guid GenerateRSoPLogging = new Guid("b7b1b3de-ab09-4242-9e30-9980e5d322f7");
        public static readonly Guid GenerateRSoPPlanning = new Guid("b7b1b3dd-ab09-4242-9e30-9980e5d322f7");
        public static readonly Guid MigrateSIDHistory = new Guid("ba33815a-4f93-4c76-87f3-57574bff8109");
        public static readonly Guid ReanimateTombstones = new Guid("45ec5156-db7e-47bb-b53f-dbeb2d03c40f");
        public static readonly Guid RecalculateHierarchy = new Guid("0bc1554e-0a99-11d1-adbb-00c04fd8d5cd");
        public static readonly Guid RecalculateSecurityInheritance = new Guid("62dd28a8-7f46-11d2-b9ad-00c04f79f805");
        public static readonly Guid RefreshGroupCache = new Guid("9432c620-033c-4db7-8b58-14ef6d0bf477");
        public static readonly Guid UnexpirePassword = new Guid("ccc2dc7d-a6ad-4a7a-8846-c04e3cc53501");
        public static readonly Guid UpdatePasswordNotRequiredBit = new Guid("280f369c-67c7-438e-ae98-1d46f3c6f541");
        public static readonly Guid UserChangePassword = new Guid("ab721a53-1e2f-11d0-9819-00aa0040529b");
        public static readonly Guid UserForceChangePassword = new Guid("00299570-246d-11d0-a768-00aa006e0529");
        public static readonly Guid SAMEnumerateEntireDomain = new Guid("91d67418-0135-4acc-8d79-c08e857cfbec");
        public static readonly Guid SelfMembership = new Guid("bf9679c0-0de6-11d0-a285-00aa003049e2");
        public static readonly Guid UpdateSchemaCache = new Guid("be2bb760-7f46-11d2-b9ad-00c04f79f805");
        public static readonly Guid ValidatedSPN = new Guid("f3a64788-5306-11d1-a9c5-0000f80367c1");
    
        #region Exchange
        public static readonly Guid OpenAddressBook = new Guid("a1990816-4298-11d1-ade2-00c04fd8d5cd");
        public static readonly Guid ReceiveAs = new Guid("ab721a56-1e2f-11d0-9819-00aa0040529b");
        public static readonly Guid SendAs = new Guid("ab721a54-1e2f-11d0-9819-00aa0040529b"); 
        public static readonly Guid SendTo = new Guid("ab721a55-1e2f-11d0-9819-00aa0040529b");
        #endregion

        #region Operation Master
		public static readonly Guid ChangeDomainMaster = new Guid("014bf69c-7b3b-11d1-85f6-08002be74fab");
        public static readonly Guid ChangeInfrastructureMaster = new Guid("cc17b1fb-33d9-11d2-97d4-00c04fd8d5cd");
        public static readonly Guid ChangePDC = new Guid("bae50096-4752-11d1-9052-00c04fc2d4cf");
        public static readonly Guid ChangeRidMaster = new Guid("d58d5f36-0a98-11d1-adbb-00c04fd8d5cd");
        public static readonly Guid ChangeSchemaMaster = new Guid("e12b56b6-0a95-11d1-adbb-00c04fd8d5cd"); 
	    #endregion

        #region MSMQ
        public static readonly Guid MsmqOpenConnector = new Guid("b4e60130-df3f-11d1-9c86-006008764d0e"); 
        public static readonly Guid MsmqPeek = new Guid("06bd3201-df3e-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqPeekComputerJournal = new Guid("4b6e08c3-df3c-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqPeekDeadLetter = new Guid("4b6e08c1-df3c-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqReceive = new Guid("06bd3200-df3e-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqReceiveComputerJournal = new Guid("4b6e08c2-df3c-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqReceiveDeadLetter = new Guid("4b6e08c0-df3c-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqReceiveJournal = new Guid("06bd3203-df3e-11d1-9c86-006008764d0e");
        public static readonly Guid MsmqSend = new Guid("06bd3202-df3e-11d1-9c86-006008764d0e");
        #endregion

    }
}
